<%--
  Created by IntelliJ IDEA.
  User: Lpbdz
  Date: 2017/4/7
  Time: 20:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title></title>
</head>
<body>

           <table>
               <s:iterator value="searchresult" var="comp">
                   <tr>
                       <td>
                           <button class="btn btn-link"><a href="ShowDetailAction!showDetailCourse.action?courseid=${comp.courseid}"><s:property value="coursename"></s:property> </a></button>
                       </td>
                       <td><s:property value="credit"></s:property> </td>
                       <td><s:property value="tname" ></s:property></td>
                       <td></td>
                   </tr>
               </s:iterator>
           </table>
</body>
</html>
